<!DOCTYPE html> 
<html>
	 
<head>
<?php $this->renderHook('headBegin');?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title><?php echo strip_tags($this->title) . ' | ' . APPNAME; ?></title>
<link rel="stylesheet" type="text/css" href="<?php 
	echo APPBASE.'css/style.css';?>" />
<link rel="stylesheet" type="text/css" href="<?php 
	echo APPBASE.'css/objects.css';?>" />

<script type="text/javascript" src="<?php 
	echo APPBASE.'js/jquery.js'; ?>"></script>
<script type="text/javascript" src="<?php 
	echo APPBASE.'js/common.js'; ?>"></script>
<script type="text/javascript" src="<?php 
	echo APPBASE.'js/menu.js'; ?>"></script>

<script type="text/javascript" src="<?php 
echo APPBASE.'language/';
if((array_key_exists('lang', $_COOKIE) && $_COOKIE['lang'] && 
	is_file("language/{$_COOKIE['lang']}.js")))
	echo $_COOKIE['lang'];
else
	echo Config::$languageDefault; 
echo '.js';
?>"></script>
<?php $this->renderHook('headEnd');?>
</head>

<body>

<?php $this->renderHook('bodyBegin');?>

<div id="page">

<?php include '_heading.phtml'; ?>
<?php include '_language.phtml'; ?>
<?php include '_user.phtml'; ?>
<?php include '_menu.phtml'; ?>

<!-- begin main content -->
